#define  _CRT_SECURE_NO_WARNINGS  1
#include <stdio.h>
int main()
{
	printf("Input m, n:");
	int m, n;
	int max = 0, row = 0, col = 0;
	scanf("%d,%d", &m, &n);
	printf("Input %d*%d array: \n", m, n);
	int a[10][10];
	for (row = 0; row < m; row++)
	{
		for (col = 0; col < n; col++)
		{
			scanf("%d", &a[row][col]);
		}
	}
	int i = 0, j = 0;
	for (row = 0; row < m; row++)
	{
		for (col = 0; col < n; col++)
		{
			if (a[row][col] > max)
			{
				max = a[row][col];
				i = row, j = col;
			}
		}
	}
	printf("max=%d, row=%d, col=%d", max,i + 1, j + 1);

	return 0;
}